POV-Ray : Newsgroups : povray.binaries.images : WIP fractals : Re: WIP fractals Server Time
18 Aug 2024 22:27:09 EDT (-0400)
  Re: WIP fractals  
From: Chris Huff
Date: 3 Mar 2001 12:37:05
Message: <chrishuff-21A2F8.12344003032001@news.povray.org>
In article <3a9e3bf4@news.povray.org>, "Nekar Xenos" 
<vir### [at] iconcoza> wrote:

> > Actually, in MegaPOV, you could do a macro that accomplishes 
> > this...just
> > use the eval_pattern() function with the image_pattern and generate a
> > mesh.
> 
> Never done any macro's before. I'll see what I can do.

I've done some macros for this, they take a pigment and generate a 
"height field" from it (to use an image, you would use an image_map).
I've already got non-smooth square (like the height_field primitive that 
is built-in), and two kinds of spherical height fields: one that uses 
spherical coordinates, like a globe there is more resolution at the 
poles, and the other subdivides an octahedron, giving a more even 
distribution but less control of resolution (I may try a tetrahedron as 
well...). I'll post some images soon and upload the include file to my 
web site when it is closer to finished.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.